﻿@{
    ViewBag.Title = @Local("LogInfo.Title");
    Layout = GetPath(SystemDirectory.Shared, "_Dialog.cshtml");
}
@model LogInfo
           
@if (Model != null)
{
<div class="box">
    <textarea readonly="readonly" class="h300">@Model.Message</textarea>
</div>
 <div class="box">
 <table>
    <tr>
        <td><label>@Local("LogInfo.Source")：</label></td>
        <td>@Model.Source</td>
        <td style="padding-left:20px;"><label>@Local("LogInfo.LogDate")：</label></td>
        <td>@Model.LogDate</td>
    </tr>
    <tr>
        <td><label>@Local("LogInfo.Category")：</label></td>
        <td>@Model.Category</td>
        <td style="padding-left:20px;"><label>@Local("LogInfo.EventID")：</label></td>
        <td>@((int)Model.EventID)</td>
    </tr>
    <tr>
        <td><label>@Local("LogInfo.MachineName")：</label></td>
        <td>@Model.MachineName</td>
        <td style="padding-left:20px;"><label>@Local("LogInfo.LogType")：</label></td>
        <td>@Model.LogType</td>
    </tr>
 </table>
</div>
}
else
{ 
    @CPHelper.ShowDialogStatus(Local("LogInfo.NotFound"))
}